<?php
/**
 * Created by PhpStorm.
 * User: wangkxin@foxmail.com
 * Date: 2020/9/15
 * Time: 9:51
 */

namespace app\bis\controller;
use think\Controller;

class Register extends Controller
{
    public function index()
    {
        //获取一级城市数据
        $citys = model('City')->getNormalCityByParentId();
        $categorys = model('Category')->getNormalCategoryByParentId();
        return $this->fetch('',[
            'citys'  => $citys,
            'categorys' => $categorys,
        ]);
    }





}